Component({
  properties: {
    show: {
      type: Boolean,
      value: false
    },
    position: {
      type: String,
      value: 'bottom'
    }
  },
  methods: {
    beforeOpen () {
      this.triggerEvent('beforeOpen')
    },
    close () {
      this.triggerEvent('close')
    },
    confirm () {
      this.triggerEvent('confirm')
    }
  },
})